package com.caigou.mapper.cms;


import com.caigou.bean.cms.entity.GovProListPrizeSum;
import com.caigou.bean.cms.param.GovProListPrizeSumParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GovProListPrizeSumMapper {
    GovProListPrizeSum selectByPrimaryKey(Integer id);
    int deleteByPrimaryKey(Integer id);
    List<GovProListPrizeSum> listPrizeSum();
    int insertSelective(GovProListPrizeSum prizeSum);
    int updatePrizeSum(GovProListPrizeSum prizeSum);
    Integer selectMaxRank();
    int updateRankForDelete(@Param("rank") Integer rank);
    GovProListPrizeSum getByRank(Integer rank);
    int updateRankForFront(GovProListPrizeSumParam param);
    int updateRankForBack(GovProListPrizeSumParam param);
}
